package com.zhiliao.decorator.demo2;

import com.zhiliao.decorator.beans.MessageContent;
import com.zhiliao.decorator.beans.OrderCancelContent;

public class OrderCancelMessage extends AbstractMessageDecorator<OrderCancelContent>{
    public OrderCancelMessage(Message message) {
        super(message);
    }

    @Override
    public void getMessage(String content) {
        super.getMessage(content);
    }

    @Override
    protected MessageContent deserializeMessage(String content) {
        return null;
    }

    @Override
    protected boolean preCheckMessage(MessageContent<OrderCancelContent> messageContent) {
        return false;
    }

    @Override
    protected void service(MessageContent<OrderCancelContent> messageContent) {
        OrderCancelContent content = messageContent.getContent();


    }
}
